package com.wardrobe.mapper.slave.shop;

import com.wardrobe.domain.shop.ShopFromBean;
import com.wardrobe.domain.shop.ShopShowBean;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * Created by Administrator on 2018/11/16.
 */
@Component("shopSlaveMapper")
public interface ShopSlaveMapper {

    List<ShopShowBean> selectShopList(ShopFromBean fromBean);

    long countShop(ShopFromBean fromBean);

    ShopShowBean selectShopByUserId(long userId);

    ShopShowBean selectShopById(long id);
}
